package org.chen.request;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class BatchStatusRequest {
    @NotEmpty(message = "ID列表不能为空")
    private List<Long> ids;
    
    @NotNull(message = "状态不能为空")
    private Boolean enabled;
}